<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    body{
        text-align:center;
        font-size:25px;
    }
    span{
        width:30px;
        height:10px;
        display:inline-block;
    }
    </style>
</head>
<body>
    <?php
    for($i=1;$i<=10;$i++){
        for($j=1;$j<=10;$j++){
            if($i>=3 && $i<=8 && $j>=3 && $j<=8)
            echo '<span></span>';
            else
            echo '<span>*</span>';
        }
        echo '<br>';
    }
    ?>
</body>
</html>